﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="closetopic.aspx.cs" Inherits="Web.bbs.closetopic" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/bbs.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../common/Js/base.js"></script>

    <script type="text/javascript">
        function getIdlist() {


           alert("测试！");
            var post_point = document.getElementsByTagName("input");
            var post_point_l = post_point.length;
            var post_point_value = new Array();

            for (i = 0; i < post_point_l; i++) {
                post_point_value[i] = post_point[i].value + "|" + post_point[i].id;

            }
            var ajax = new Ajax("xy014", "&data="+post_point_value);
            
             ajax.onSuccess = function() {
              
                if (ajax.state.result == 0 || ajax.state.result == -1) {

                } else {

                   alert("更新成功");
                }

        }
    </script>

</head>

<body>
    <form id="form1" runat="server">
    <div style="margin: 0 auto; width: 960px;">
        <div class="end">
            <%=closehtml%>
        </div>
        <p>
            <br>
            <strong>如果可用分分配完毕，请点击
                <asp:Button ID="btn_close" runat="server" Text="结帖给分" class="btn_b close_submit"
                    OnClick="btn_close_Click"   OnClientClick="return getIdlist();"/>
                没有找到满意的答案，我要进行
                <asp:Button ID="btn_closeno" runat="server" Text="无满意结帖" class="btn_b" OnClick="btn_closeno_Click" />
            </strong><span class="red">请依据各楼回答情况给分,技术区不提供平均给分功能</span><br>
        </p>
    </div>
    </form>
</body>
</html>
